package process

import (
	"fmt"
)

func main() {
	test1()
}

func test1() {
	//循环打印
	for i := 0; i < 7; i++ {
		fmt.Printf("%d+%d=%d\n", i, 6-i, 6)
	}
}

func test2() {
	var sum int
	var count int
	for i := 1; i < 100; i++ {
		if i%9 == 0 {
			sum = sum + i
			count++
		}
	}
	fmt.Println(sum)
	fmt.Println(count)
}
